package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.Account;

import java.util.Map;

public interface AccountService extends IService<Account> {
    Map<String, Object> login(Account account);

    Map<String, Object> getUserInfo(String token);

    void logout(String token);
}
